package
{
	import com.greensock.TweenMax;

	import flash.display.Sprite;
	import flash.events.Event;
	import flash.text.TextField;

	[SWF(width="600", height="600", frameRate="30", backgroundColor="0xFFFFFF")]
	public class SplitTextField_Test extends Sprite
	{
		public function SplitTextField_Test()
		{
			var tempSprite:Sprite = new Sprite;
			tempSprite.x = 100;
			tempSprite.y = 400;
			tempSprite.rotationX = -70;
			this.addChild(tempSprite);

			var txt:TextField = new TextField;
			txt.width = 200;
			txt.height = 100;
			txt.multiline = true;
			txt.wordWrap = true;
			txt.text = "[SWF(width='600', height='600', frameRate='30', backgroundColor='0xFFFFFF')]";
			tempSprite.addChild(txt);

			this.addEventListener(Event.ENTER_FRAME, function($event:Event):void
				{
					txt.y -= 0.5;
				});
		}
	}
}